* lisp/progmodes/sh-script.el: Provide simpl(e|istic) completion.
authorStefan Monnier <monnier@iro.umontreal.ca>
Fri, 11 Oct 2013 03:28:31 +0000 (23:28 -0400)
committerStefan Monnier <monnier@iro.umontreal.ca>
Fri, 11 Oct 2013 03:28:31 +0000 (23:28 -0400)
commit765f2a446f59522395d38cbce20be07cbb7647d3
tree3584fc551caeb1f7626e76aaa42905626bf466dc
parentc176cd05c042be33d246ababee887c1dc69c161e
* lisp/progmodes/sh-script.el: Provide simpl(e|istic) completion.
(explicit-shell-file-name): Declare.
(sh--vars-before-point, sh--cmd-completion-table): New functions.
(sh-completion-at-point-function): New function.
(sh-mode): Use it.
(sh-smie--keyword-p): Remove unused argument.
(sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
vars.
(sh-set-shell): Always setup SMIE, even if we use the
old indentation code.
lisp/ChangeLog
lisp/progmodes/sh-script.el